package com.hui.blog_server.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hui.blog_server.entity.Photos;
import com.hui.blog_server.mapper.PhotosMapper;
import com.hui.blog_server.service.PhotosService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 彩色的小灰
 */
@Service
public class PhotosServiceImpl extends ServiceImpl<PhotosMapper, Photos> implements PhotosService {

    @Override
    public List<Photos> getPhotos() {
        return baseMapper.selectList(null);
    }
}
